<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<a th:href="@{/student/add/}">新增</a>
<table>
    <tr th:each="user:${userList}">
        <td>[[${user.id}]]</td>
        <td>[[${user.name}]]</td>
        <td><a th:href="@{/student/delete/}+${user.id}">删除</a></td>
        <td><a th:href="@{/student/edit/}+${user.id}">编辑</a></td>
    </tr>
</table>
</body>
</html>